package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;


/**
 * 药品信息
 * 数据库通用操作实体类（普通增删改查）
 * @author
 * @email
 * @date 2025-04-20 11:05:39
 */
@TableName("jianchaxiangmuxinxi")
public class jianchaxiangmuxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public jianchaxiangmuxinxiEntity() {

	}

	public jianchaxiangmuxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 检查项目编号
	 */

	private String jianchaxiangmubianhao;

	/**
	 * 药品名称
	 */

	private String jianchaxiangmumingcheng;

	/**
	 * 剂型
	 */

	private String jianchaxiangmuleixing;




	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：编号
	 */
	public void setjianchaxiangmubianhao(String jianchaxiangmubianhao) {
		this.jianchaxiangmubianhao = jianchaxiangmubianhao;
	}
	/**
	 * 获取：检查项目编号
	 */
	public String getjianchaxiangmubianhao() {
		return jianchaxiangmubianhao;
	}
	/**
	 * 设置：检查项目名称
	 */
	public void setjianchaxiangmumingcheng(String jianchaxiangmumingcheng) {
		this.jianchaxiangmumingcheng = jianchaxiangmumingcheng;
	}
	/**
	 * 获取：检查项目名称
	 */
	public String getjianchaxiangmumingcheng() {
		return jianchaxiangmumingcheng;
	}
	/**
	 * 设置：检查项目类型
	 */
	public void setjianchaxiangmuleixing(String jianchaxiangmuleixing) {
		this.jianchaxiangmuleixing = jianchaxiangmuleixing;
	}
	/**
	 * 获取：检查项目类型YaopinxinxiVO
	 */
	public String getjianchaxiangmuleixing() {
		return jianchaxiangmuleixing;
	}

}
